<template>
	<view>
	   
			<view class="cu-load load-modal custom" v-if="loadModal">
			<image src="../../static/images/splash/bird.png" mode="aspectFit"></image>
			<view class="gray-text">加载中...</view>
</view>
</view>
</template>

<script>
	export default {
		data() {
			return {
				loadModal : true
			};
		},
		watch:{
			'$store.state.loadModal'(newVal){
				return this.loadModal=newVal
			}
		}
	}
</script>

<style lang="scss">
.custom{
	background-color:#03174c;
	opacity: 0.9;
	color: #FFFFFF;
}
.cu-load.load-modal::after{
	background-color:#03174c;
}
</style>
